<?php
$this->breadcrumbs=array(
	$this->module->id,
);
?>
<h1><?php echo $this->uniqueId . '/' . $this->action->id; ?></h1>


<p>
This is the view content for action "<?php echo $this->action->id; ?>".
The action belongs to the controller "<?php echo get_class($this); ?>"
in the "<?php echo $this->module->id; ?>" module.
</p>
<p>
You may customize this page by editing <tt><?php echo __FILE__; ?></tt>
</p>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>


<?php 

$category=Category::model()->findAllInArray(); 

print_r($category);
?>


<p class="clone">
  First name: <input type="text" name="firstname[]" class='input'/>
  Last name: <input type="text" name="lastname[]" class='input'/>
</p>
 
<?php 
  $this->widget('ext.widgets.reCopy.ReCopyWidget', array(
     'targetClass'=>'clone',
     //'limit'=>1
  )); 
?>


<br/><br/><br/><br/><br/><br/>

<?php 
  $this->widget('ext.widgets.reCopy.ReCopyWidget', array(
     'addButtonId'=>'rr',
     'targetClass'=>'clone-this',
     'addButtonLabel'=>'Add new',
     'addButtonCssClass'=>'add-clone',
     'removeButtonLabel'=>'Remove this',
     'removeButtonCssClass'=>'remove-clone',
     'clearInputs'=>false,
     'limit'=> 5,
  )); 
?>

<div class="clone-this">
  First name: <input type="text" name="firstname[]" class='input' value="test"/>
  Last name: <input type="text" name="lastname[]" class='input' value="test2"/>
  Gender: <select name="gender[]">
             <option value="male">Male</option>
             <option value="female" selected="selected">Female</option>
          </select>
</div>
 


<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>


<p class="education-history">
  School attended: <input type="text" name="school[]" class='input'/>
  Year: <input type="text" name="school_year[]" class='input'/>
</p>
 
<?php 
  $this->widget('ext.widgets.reCopy.ReCopyWidget', array(
     'targetClass'=>'education-history',
     'addButtonId'=>'add-new-education',
     'limit'=>3,
  )); 
?>


<br/><br/><br/><br/><br/><br/>


<p class="qualification">
  Certificate: <input type="text" name="certificate[]" class='input'/>
  Year: <input type="text" name="cert_year[]" class='input'/>
  
  
  <?php
    
    $this->widget('zii.widgets.jui.CJuiDatePicker',array(
            'attribute'=>'test',
             'name'=>'dayofbirth[]',
            'language'=>'de',
            'options'=>array(
                'showAnim'=>'fold',
            ),
            'id'=>'ii, .date-class',
            'htmlOptions'=>array(
                'class'=>'date-class',
            ),
      )); ?>
</p>
 
<?php 
  $this->widget('ext.widgets.reCopy.ReCopyWidget', array(
     'targetClass'=>'qualification',
     'addButtonId'=>'add-new-qualification',
     'limit'=>5,
  )); 
?>


<br/><br/><br/><br/><br/><br/>